#include <iostream>
#include "Vector3.h"

using namespace std;

void print_v(Vector3 v) 
{
	cout << " [ " << v.x << ", " << v.y << ", " << v.z << " ] " << endl;
}

int main() 
{
	cout << "Hello" << endl;

	Vector3 v1(10, 20, 30);
	print_v(v1);

	Vector3 v2(v1);
	print_v(v2);

	Vector3 v3 = -v1;
	print_v(v3);

	v2.zero();
	print_v(v2);

	Vector3 v4(5, -4, 7);
	float r = vectorMag(v4);
	cout << r << endl;

	system("pause");

	return 0;
}